XBee API operation library for mbed for miniprojects

Dependencies:   SmartLabXBeeCore

Fork of SmartLabXBeeAPI2 by CHENGQI YANG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers XBeeAPI.cpp Source File

XBeeAPI.cpp

00001 #include "XBeeAPI.h"
00002 
00003 XBeeAPI::XBeeAPI(PinName tx, PinName rx)
00004     :CoreAPI(new SerialData(tx, rx), false)
00005 {}
00006 
00007 XBeeAPI::XBeeAPI(PinName tx, PinName rx, bool isEscape)
00008     :CoreAPI(new SerialData(tx, rx), isEscape)
00009 {}
00010 
00011 XBeeAPI::XBeeAPI(PinName tx, PinName rx, int baudRate, bool isEscape)
00012     :CoreAPI(new SerialData(tx, rx, baudRate), isEscape)
00013 {}
00014 
00015 XBeeAPI::XBeeAPI(ISerial * serial, bool isEscape)
00016     :CoreAPI(serial, isEscape)
00017 {}