1.0 / March 23, 2016
(5.0/5) (2)
Loading...

Description

The purpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...The protocol is TCP/IP (Client).UP: 0,power, 0DOWN: 0, -power, 0LEFT: -power, power, 0RIGHT: power,power, 0MIDDLE: 0, 0, 0 or 0, 0, power (Zero active)Byte Mode: 3positions are transfered as 3 bytes (default)ASCII Mode: 3positions are transfered as text seperated by comma (ended by\n)Session inactive: Each transmission in a seratedconnectionSession active: Connection never closed, but if necessaryautomatic reconnect (default) Zero inactive: No return to zerovalues after releaseZero active: Auto return to zero values afterreleaseSample 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_inserv_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 onaccept"); while(1) { bzero(buffer,256); n =read(newsockfd,buffer,3); if (n < 3) { error("ERROR reading fromsocket"); 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; }The purpose of theapp is to control remote hardware like Arduino, Netduino, RaspberryPi ...The protocol is TCP / IP (Client).UP: 0, power, 0DOWN: 0,-power, 0LEFT: -power, power, 0RIGHT: power, power, 0MIDDLE: 0, 0,0 or 0, 0, power (Zero active)Byte Mode: 3 positions are transferedas 3 bytes (default)ASCII mode: 3 positions are transfered as textseperated by comma (ended by \ n)Session inactive: Eachtransmission in a Serated connectionSession active: Connectionnever closed, but if Necessary automatic reconnect (default)Zeroinactive: No return to zero values ​​after releaseZero active: Autoreturn to zero values ​​after releaseSample code for a server onRaspberry 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_tclilen;    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 onaccept");         while(1)         {               bzero(buffer,256);               n= read (newsockfd, buffer,3);               if(n<3)               {                     error( "ERROR reading fromsocket");                     break;               }               floattmp1 = (float) buffer[0];               if(tmp1>127)                     tmp1- =256;               floattmp2 = (float) buffer[1];               if(tmp2>127)                      tmp2- =256;               floatTMP3 = (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;}

App Information NetSimple

Ferdinand Stueckler Show More...

EV3 Simple Remote 1.3 APK
After connecting the LEGO Mindstorms EV3 brick, buttons willcontrol the engines.AB,BC,CD: Select enginesSense Mode: Push andreleaese button handling; Smart Turn with red buttonReverse: Allengines will be invertedRequirements:- Min. Android 2.1- LEGOMindstorms EV3- Bluetooth- Ports A,B,C and D- No EV3 programrequiredA previous Bluetooth Pairing is required.Tested with Nexus4 and Nexus 7Changes V1.3: - Smart Turn in Sense Mode with redbutton
EV3-NXT Gateway 1 APK
Transmit data between LEGO Mindstorms NXT and EV3 Mailboxes. ABluetooth connection will be established.Text, numeric and logicinformations will be sent to an EV3 or NXT and can be used in LEGOMinstorms software.EV3 Mailbox mb1 <--> NXT Mailbox 1EV3Mailbox mb2 <--> NXT Mailbox 2EV3 Mailbox mb3 <--> NXTMailbox 3Restrictions:- Only 3 Mailboxes are supported and theirnames are mb1, mb2 and mb3Requirements:- Lego Mindstorms EV3 Brick- Lego Mindstorms NXT Brick - Program for the EV3 Brick (developedby yourself) - Program for the NXT Brick (developed by yourself) -Android 2.1 or higherA previous Bluetooth Pairing is alsorequired.Tested with Nexus 4 and Nexus 7
NXT Simple Remote 2.2 APK
Simple Remote Control for LEGO Mindstorms NXT Engines:- Min.Android 2.1- LEGO Mindstorms NXT- Bluetooth- Ports A,B and C- NoNXT Program requiredA previous Bluetooth Pairing is required.
EV3 Numeric Pad+ 1.1 APK
Numeric values will be sent to an EV3 bluetooth mailbox and can beused in the LEGO Mindstorms software:- First 2D Coordinate ->Mailbox x (or a)- Second 2D Coordinate -> Mailbox y (or b)- 1DCoordinate -> Mailbox z (or c)- Buttons 1-4 -> Mailbox w (ord)- ABCD: Activate Mailbox a,b,c,d- WXYZ: Activate Mailboxw,x,y,zRange of values for coordinates : -100 ... 100Range ofvalues for buttons: 1 ... 4Requirements:- Lego Mindstorms EV3Brick- Program for the EV3 Brick (developed by yourself) - Android2.1 or higherTested with Nexus 4 and Nexus 7Changes V1,1- Tabletmodifications
Bluetooth Color Picker 1.1 APK
Bluetooth Remote Control for color information. 3 colors arehandled either as text or bytes. 6 channels for colors will bemanaged.The range of the values are between 0 and 255.Byte Mode(Default): Channel and 3 colors are transfered as 4 bytesExamplefor BLUE and channel 2: 0x020000FFASCII Mode: Starting with thechannel and a colon 3 colors are transfered as text seperated bycomma (ended by \n)Example for RED and Channel 1: "1:255,0,0\n"Thepurpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...Version 1.1: Byte Mode Default
NetPad 1.4 APK
The purpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...The protocol is TCP/IP (Client).3positions are handled either as text or bytes.The range of thevalues x,y (1. control) and z (2. control) are between -100 and100.Byte Mode: 3 positions are transfered as 3 bytes (default)ASCIIMode: 3 positions are transfered as text seperated by comma (endedby \n)Session inactive: Each transmission in a seratedconnectionSession active: Connection never closed, but if necessaryautomatic reconnect (default) Zero inactive: No return to zerovalues after releaseZero active: Auto return to zero values afterreleaseThe purpose of the app is to control remote hardware likeArduino, Netduino, Raspberry Pi ...V1.1:- Changed default mode-Session to hold connectionV1.2:- Tablet modificationsV1.3:- Zero:Auto return to zero values on/off- Remember last settingsV1.4-Improved TCP/IP connectionSample code for a server on RaspberryPi:#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_inserv_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 onaccept"); while(1) { bzero(buffer,256); n =read(newsockfd,buffer,3); if (n < 3) { error("ERROR reading fromsocket"); 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; }
Bluetooth Simple Remote 1.1 APK
The purpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...The first optional information is achannel, which has the range from 0 to 3.Afterwards 2 positions arehandled as bytes and are almost terminated with a zero byte.Therange of the positions (power) is between -100 and 100.UP:[channel], 0, power, 0DOWN: [channel], 0, -power, 0LEFT: [channel],-power, power, 0RIGHT: [channel], power, power, 0MIDDLE: [channel],0, 0, 0 or [channel], 0, 0, power (Sense)Reverse: Power * -1Sense:Automatic return to zero values on release -> [channel], 0, 0,0The MIDDLE Button has a special handling -> [channel], 0, 0,powerChannel: Enable optional channelPower: Slider from 0 to 100Thepurpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...The first optional information is achannel, Which Has the range from 0 to. 3Afterwards 2 positions arehandled as bytes and are terminated with a zero byte almost.Therange of the position (power) is between -100 and 100thUP:[channel], 0, power, 0DOWN: [channel], 0, -power, 0LEFT: [channel],-power, power, 0RIGHT: [channel], power, power, 0MIDDLE: [channel],0, 0, 0 or [channel], 0, 0, power (Sense)Reverse: Power * -1Sense:Automatic return to zero values ​​on release -> [channel], 0, 0,0The Middle Button has a special handling -> [channel], 0, 0,powerChannel: Enable optional channelPower factor: slider from 0 to100
Bluetooth Universal Pad 1.2 APK
The purpose of the app is to control remote hardware like Arduino,Netduino, Raspberry Pi ...3 positions are handled either as text orbytes.The range of the values x,y (1. control) and z (2. control)is between -100 and 100.Byte Mode: 3 positions are transfered as 3bytes (default)ASCII Mode: 3 positions are transfered as textseperated by comma (ended by \n)V1.1: Changed default modeV1.2:Tablet modifications
Loading...