| 開發人員: | Ferdinand Stueckler (32) | ||
| 價錢: | 免費 | ||
| 排名: | 0 | ||
| 評測: | 0 寫評論 | ||
| 清單: | 0 + 0 | ||
| 點數: | 0 + 0 ¡ | ||
| Google Play | |||
描述
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;
}
螢幕擷取畫面





視頻
新功能
- 版本: 1.0
- 發佈日期:
價錢
- 今天: 免費
- 最小值: 免費
- 最大值: 免費
追蹤票價
開發人員
- Ferdinand Stueckler
- 平台: Android 應用程式 (22) Windows 應用程式 (10)
- 清單: 0 + 0
- 點數: 3 + 1,569 ¡
- 排名: 0
- 評測: 0
- 折扣: 0
- 影片: 8
- RSS: 訂閱
點數
0 ☹️
排名
0 ☹️
清單
0 ☹️
評測
成為第一個評論 🌟
其他資訊
- 版本: 1.0
- 類別 :
Android 應用程式›通訊 - OS:
Android 2.2 - 大小:
350 Kb - 內容分級:
Everyone - Google Play 評分:
0 - 發佈日期:
- 發行日期:
聯絡人
- 🌟 分享
- Google Play
你可能還喜歡
- Play Pass
- Simple SMS Messenger
- Android 應用程式: 通訊 由: Simple Mobile Tool
- * * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 73,336 (4.3) 版本: 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 + 849 (3.8) 版本: 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 版本: 1.7.1 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 ... ⥯
-
- 10tl.net Mybb Forum App
- Android 應用程式: 通訊 由: Vidinli.net Shopping Platform
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 2.5.0 Browse Mybb Forums inside 10tl.net ⥯
-
- Simple Chat
- Android 應用程式: 通訊 由: AsaGames
- * 免費
- 清單: 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 Chat - Real-Time
- Android 應用程式: 通訊 由: Heaven&Peace
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 21.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 Bluetooth Chat
- Android 應用程式: 通訊 由: Pelagic
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 47 (3.8) 版本: 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 + 75 (3.6) 版本: 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 版本: 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 ... ⥯
-
- S-NET Connect Mobile
- Android 應用程式: 通訊 由: S-NET Communications INC
- 免費
- 清單: 1 + 0 排名: 0 評測: 0
- 點數: 0 + 9 (2.8) 版本: 7.4.1-build.396 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 ... ⥯
-
- Net Nine Nine
- Android 應用程式: 通訊 由: SOLIDitech
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.0.50-gms Take full control of your Nine Nine Nine internet experience with our easy-to-use mobile app! Whether you're looking to join the Nine Nine Nine family or you're an existing customer, ... ⥯
-
- Simple Paging
- Android 應用程式: 通訊 由: Barix AG
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 0.10.0 Make Public Address Announcements over your network. Simple Use your Android Phone to make crisp and clear Public Address announcements throughout your facility, or in specific zones. ... ⥯
-
- Simple PhoneBook
- Android 應用程式: 通訊 由: BackCasey Software
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 2.8.5 Pick up name and phone number. Make a call. Simple enough. All contact names are sorted by alphabetical and Hiragana order (Originally this app is made for Japanese). The app is for ... ⥯
-
- Simple rainbow blue theme
- Android 應用程式: 通訊 由: imshine
- $0.99
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 11.4.0 [!] This theme app is decorating theme for kakaotalk app theme [!] You can first download kakaotalk app on google play store [[How to apply the theme]] KakaoTalk app > settings (gear ... ⥯