John Bailey / Mbed 2 deprecated XBeeApiBroadcastExampleRTOS

Dependencies:   XBeeApi mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

main.cpp File Reference

main.cpp File Reference

Example of using the XBeeApi library to broadcast a message This example has more error checking than XBeeApiSimpleBroadcast example and should improve the changes of detecting and diagnosing a problem. More...

Go to the source code of this file.


Detailed Description

Example of using the XBeeApi library to broadcast a message This example has more error checking than XBeeApiSimpleBroadcast example and should improve the changes of detecting and diagnosing a problem.

This example shows how to use the library when using mbed-rtos. Before compiling you must open "XbeeApi\Config\XBeeApiCfg.hpp" and change the 'if 0' to 'if 1' on the line above the comment reading "Use RTOS features to make XBeeApi threadsafe"

Author:
John Bailey

Copyright 2014 John Bailey

LICENSE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file main.cpp.