Fork me on GitHub

eFirmata

Connecting the real world to the digital world.

Introduction

Compatable Hardware:

Protocols:

Example Projects:

Compiler

Installing the Binary

About / Credits / Contact

Protocol - GP Input over UDP (port 2115)

GPI - Get GPIO pin values


GPI command from the PC to the eFirmata
0001020304050607 0809101112131415 1617181920212223 2425262728293031
'e' 'F' 'i' 'r'
'm' 'a' 't' 'a'
'G' 'P' 'I' Version = 0

Response

The eFirmata will respond with the pin values of all GPIO pins.


pin data from the eFirmata to the PC (big endian)
0001020304050607 0809101112131415 1617181920212223 2425262728293031
GPIO 0 Pin Values
GPIO 1 Pin Values
GPIO 2 Pin Values
GPIO 3 Pin Values
GPIO 4 Pin Values

This data is the result of reading FIOPIN for each of the GPIO ports.