The library for waveshare ZBee Core2530 (B):
Dependents: zbee_rx_analog zbee_tx_analog simple_zb_rx simple_zb_tx
zbee Class Reference
Zbee interface class for configuring, sending and recieving data using an waveshare Zbee. More...
#include <zbee.h>
Public Member Functions | |
zbee (PinName tx, PinName rx, int baud) | |
Configure serial data pin. | |
int | GetAddr (char *) |
Puts the Xbee into config mode. | |
int | GetPanId (char *) |
Sets the encryption key to the one stored in security_key. | |
int | SetPanId (int) |
Sets the encryption key to the one stored in security_key. | |
int | SendData (char *) |
Sets the encryption key to the one stored in security_key. | |
void | ReceiveData (char *, int) |
Recieves data sent to the xbee. | |
void | Reset () |
Resets the Xbee. |
Detailed Description
Zbee interface class for configuring, sending and recieving data using an waveshare Zbee.
Definition at line 24 of file zbee.h.
Constructor & Destructor Documentation
zbee | ( | PinName | tx, |
PinName | rx, | ||
int | baud | ||
) |
Member Function Documentation
int GetAddr | ( | char * | addr ) |
int GetPanId | ( | char * | panid ) |
void ReceiveData | ( | char * | data_buf, |
int | numchar | ||
) |
int SendData | ( | char * | data_buf ) |
Generated on Sat Jul 23 2022 01:00:33 by 1.7.2