Digi International Inc. / Mbed 2 deprecated XBeeDM_modem_status

Dependencies:   XBeeLib mbed

Fork of XBeeZB_modem_status by Digi International Inc.

Revision:
9:51ef7cbb0037
Parent:
6:a75fe0a5c249
--- a/main.cpp	Thu Jul 28 10:20:06 2016 +0200
+++ b/main.cpp	Thu Jul 28 10:22:18 2016 +0000
@@ -31,14 +31,14 @@
 {
     log_serial = new Serial(DEBUG_TX, DEBUG_RX);
     log_serial->baud(9600);
-    log_serial->printf("Sample application to demo how to receive modem status changes with the XBeeZB\r\n\r\n");
+    log_serial->printf("Sample application to demo how to receive modem status changes with the XBeeDM\r\n\r\n");
     log_serial->printf(XB_LIB_BANNER);
 
 #if defined(ENABLE_LOGGING)
     new DigiLoggerMbedSerial(log_serial, LogLevelInfo);
 #endif
 
-    XBeeZB xbee = XBeeZB(RADIO_TX, RADIO_RX, RADIO_RESET, NC, NC, 9600);
+    XBeeDM xbee = XBeeDM(RADIO_TX, RADIO_RX, RADIO_RESET, NC, NC, 9600);
 
     /* Register callbacks */
     xbee.register_modem_status_cb(&modem_status_cb);