Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: XBeeLib mbed-rtos mbed
Xbee/xbeeutils.h
- Committer:
- ggs22
- Date:
- 2017-12-04
- Revision:
- 3:e76f0ece91ef
- Child:
- 5:2732931df96c
File content as of revision 3:e76f0ece91ef:
/* xbeeutils.h
* Guillaume Hivert, Marc-Olivier Lavoie, Gabriel Gibeau-Sanchez
* Université de Sherbrooke, S5 project
*
* Provides high-level functions to initialize and control xbee communication.
* Inspired by https://os.mbed.com/teams/Digi-International-Inc/code/XBeeLib/wiki/Discovering-nodes-in-the-network
*/
#ifndef XBEEUTILS_H
#define XBEEUTILS_H
#include "XBeeLib.h"
//#include "EthCommunication.h"
using namespace XBeeLib;
void discover();
void xbee_init();
void send_data_to_coordinator(char *message, int length);
void test();
void xbee_broadcast(char *message, int length);
void process_rx_frames();
int split (char *str, char c, char ***arr);
#endif
