
Library set up as dummy module on mbed to mimic Nordic.
Diff: rs485.h
- Revision:
- 0:226550611f0d
- Child:
- 2:9ab591cf81b8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rs485.h Mon Dec 12 23:06:58 2016 +0000 @@ -0,0 +1,29 @@ +#ifndef RS485 +#define RS485 + +#include "packetformatter.h" +#include "protocol.h" +#include "list.h" +#include "comms.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void SerialHandler(unsigned char RXByte); +int ChangeState( int ); + + + +//extern char processCommand(int command,unsigned char *receivedData); + +void RS485_Init(); +unsigned char RegisterCommand( unsigned char , void (*fx)(unsigned char *) ); +int CheckFunction( Packet *_packet ); +void SetResponse( Packet *); + +#ifdef __cplusplus +} +#endif + +#endif