개발자: Ferdinand Stueckler (32)
가격: 무료
순위: 0 
리뷰: 0 리뷰 작성
댓글: 0 댓글 게시
목록: 0 + 0
포인트: 0 + 0 ¡
Google Play

기술

NetSimple
The purpose of the app is to control remote hardware like Arduino, Netduino, Raspberry Pi ...
The protocol is TCP/IP (Client).

UP: 0, power, 0
DOWN: 0, -power, 0
LEFT: -power, power, 0
RIGHT: power, power, 0
MIDDLE: 0, 0, 0 or 0, 0, power (Zero active)

Byte Mode: 3 positions are transfered as 3 bytes (default)
ASCII Mode: 3 positions are transfered as text seperated by comma (ended by \n)
Session inactive: Each transmission in a serated connection
Session active: Connection never closed, but if necessary automatic reconnect (default)
Zero inactive: No return to zero values after release
Zero active: Auto return to zero values after release

Sample code for a server on Raspberry Pi:

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "unistd.h"
#include "sys/types.h"
#include "sys/socket.h"
#include "netinet/in.h"

void error(const char *msg)
{
perror(msg);
exit(1);
}

int main(int argc, char *argv[])
{
int sockfd, newsockfd, portno,n;
socklen_t clilen;
char buffer[256];
struct sockaddr_in serv_addr, cli_addr;

sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd < 0)
error("ERROR opening socket");

bzero((char *) &serv_addr, sizeof(serv_addr));
portno = 12345;

serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = INADDR_ANY;
serv_addr.sin_port = htons(portno);
if (bind(sockfd, (struct sockaddr *)
&serv_addr, sizeof(serv_addr)) < 0)
error("ERROR on binding");

while(1)
{
listen(sockfd,5);
clilen = sizeof(cli_addr);
newsockfd = accept(sockfd, (struct sockaddr *)
&cli_addr, &clilen);
if (newsockfd < 0)
error("ERROR on accept");

while(1)
{
bzero(buffer,256);
n = read(newsockfd,buffer,3);
if (n < 3)
{
error("ERROR reading from socket");
break;
}

float tmp1 = (float)buffer[0];
if (tmp1 > 127)
tmp1 -= 256;

float tmp2 = (float)buffer[1];
if (tmp2 > 127)
tmp2 -= 256;

float tmp3 = (float)buffer[2];
if (tmp3 > 127)
tmp3 -=256;

printf("%d %d %d\n",(int)tmp1,(int)tmp2,(int)tmp3);
}
close(newsockfd);
}
close(sockfd);
return 0;
}
더보기 ↓
Ad

스크린샷

#1. NetSimple (Android) 게시자: Ferdinand Stueckler
#2. NetSimple (Android) 게시자: Ferdinand Stueckler
#3. NetSimple (Android) 게시자: Ferdinand Stueckler
#4. NetSimple (Android) 게시자: Ferdinand Stueckler
#5. NetSimple (Android) 게시자: Ferdinand Stueckler

비디오

새로운 기능

  • 버전: 1.0
  • 업데이트:

가격

  • 오늘: 무료
  • 최소: 무료
  • 최대: 무료
가격 추적
Ad

개발자

포인트 (0)

0 ☹️

순위 (0)

0 ☹️

목록 (0)

0 ☹️
  • NetSimple

리뷰 (0)

첫 번째 리뷰를 남겨보세요 🌟

댓글 (0)

가장 먼저 댓글을 남겨주세요.

추가 정보

주소록

NetSimpleNetSimple 단축 URL: 복사됨!
  • 🌟 공유하기
  • Google Play

당신은 또한 같은 수 있습니다

  • Play Pass
    • Simple SMS Messenger
    • Android 앱: 커뮤니케이션  게시자: Simple Mobile Tool
    • * * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 77,399 (4.3)  댓글: 0  버전: 6.1.3   A great way to stay in touch with your relatives is by sending both SMS and MMS messages. The app properly handles group messaging, too, just like blocking numbers from Android 7+. ...
        ⥯ 
    • Simple Mobile International
    • Android 앱: 커뮤니케이션  게시자: SIMPLE Mobile
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 844 (3.8)  댓글: 0  버전: 5.0.4   This free app allows you to directly call stored contacts or international numbers without the hassle of dialing access numbers. Say good-bye to access numbers and hello to an easier ...
        ⥯ 
    • @UKR.NET Mail
    • Android 앱: 커뮤니케이션  게시자: UKR.NET
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.7.4   Download the official @UKR.NET Mail app and manage your UKR.NET email accounts in one mail client. With your mail App you ll be able to: - Receive and send letters. - Send large files ...
        ⥯ 
    • Simple Chat
    • Android 앱: 커뮤니케이션  게시자: AsaGames
    • * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.1.0   "Simple Chat" is a user-friendly messaging app that allows users to send and receive real-time messages. The app features group chats, emojis, and file sharing capabilities, making it ...
        ⥯ 
    • Simple Yes or No
    • Android 앱: 커뮤니케이션  게시자: Parrot Concepts
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.0.1   Simple Yes or No is an app for teaching and practicing consent and preferences. The model is simple, allowing for training on recognizing and indicating the symbols and then training ...
        ⥯ 
    • Simple Chatting App
    • Android 앱: 커뮤니케이션  게시자: Expedition Devs
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.7   Welcome to Simple Chatting App, the secure and easy way to stay connected with friends, family, and colleagues. Designed for simplicity and efficiency, this app lets you focus on what ...
        ⥯ 
    • Simple Chat - Real-Time
    • Android 앱: 커뮤니케이션  게시자: Heaven&Peace
    • * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 22.0   Simple Chat delivers fast, reliable messaging so you can stay connected where it matters most. Send and receive messages instantly, get push notifications when someone messages you, ...
        ⥯ 
    • Simple Phone
    • Android 앱: 커뮤니케이션  게시자: Gentle Tech
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.0.76   Simple Phone: The Senior-Friendly Solution Simple Phone is designed to be the easiest phone app for seniors, elderly, and people with visual impairments or motor control challenges. We
        ⥯ 
    • Simple Phone: Safe
    • Android 앱: 커뮤니케이션  게시자: hiroshimamaful
    • * * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.26   Simple Phone: Safe for Kids & Seniors "I want to give my child a smartphone, but I'm worried they'll mess up the settings..." "I'm worried about my aging parents making accidental ...
        ⥯ 
    • Simple Bluetooth Chat
    • Android 앱: 커뮤니케이션  게시자: Pelagic
    • * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 48 (3.8)  댓글: 0  버전: 1.1   Simple Bluetooth Chat will help you to chat with the nearest person using Bluetooth technology. It will work without any Internet. It is useful for students in a classroom, chatting ...
        ⥯ 
    • Simple Walkie-Talkie Offline
    • Android 앱: 커뮤니케이션  게시자: Palestra Inc.
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 95 (3.8)  댓글: 0  버전: 1.0.9   "Simple Walkie-Talkie" Your reliable companion for communication without borders! The connection works without the Internet, completely free and without advertising! Communication ...
        ⥯ 
    • Simple Wake On Lan
    • Android 앱: 커뮤니케이션  게시자: kentz
    • * 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 2.6   Simple Wake On Lan sends commands using the Wake On Lan protocol by simply setting the IP address, MAC address, and port. Devices can be easily woken up remotely. The cycle can be set ...
        ⥯ 
    • Simple Funnel
    • Android 앱: 커뮤니케이션  게시자: Web Angel Tech
    • 무료  
    • 목록: 0 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 0  댓글: 0  버전: 1.0.0   Simple Funnel offers businesses an integrated CRM and WhatsApp API platform to streamline customer management, automate workflows, and enhance engagement. It combines messaging ...
        ⥯ 
    • S-NET Connect Mobile
    • Android 앱: 커뮤니케이션  게시자: S-NET Communications INC
    • 무료  
    • 목록: 1 + 0  순위: 0  리뷰: 0
    • 포인트: 0 + 9 (2.8)  댓글: 0  버전: 7.6.4-build.464   Stay connected to your business from anywhere with integrated communications for a mobile workforce. S-NET Connect Mobile puts your business communications tools in your pocket so you ...
        ⥯ 

당신은 또한 같은 수 있습니다

AppAgg에서 사용할 수 있는 검색 연산자
AppAgg에 추가
AppAgg
시작하기 – 무료예요
가입
로그인