This CLI (Command Line Interface) is based mbed-os. Both NNN50 and NQ620 are supported.
Fork of NNN40_CLI by
BLE CLI Document can be downloaded here .
Note that when evaluate using Windows PC as the host, the Serial driver need to be installed in advance. The instruction is explained in the link below
https://developer.mbed.org/handbook/Windows-serial-configuration
Once installed, a device called 'mbed Serial Port (COM#)' should be recognized in Device Manager, as shown below
Please open the com port at 115200 8n1 as default
Diff: mbed-events/EventQueue.cpp
- Revision:
- 25:1423b707b705
- Parent:
- 24:838a0b25934b
--- a/mbed-events/EventQueue.cpp Fri Nov 11 09:02:51 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#include "EventQueue.h"
-
-#include "events-c/events.h"
-#include "events.h"
-#include "mbed.h"
-
-
-EventQueue::EventQueue(unsigned event_size, unsigned char *event_pointer) {
- if (!event_pointer) {
- equeue_create(&_equeue, event_size);
- } else {
- equeue_create_inplace(&_equeue, event_size, event_pointer);
- }
-}
-
-EventQueue::~EventQueue() {
- equeue_destroy(&_equeue);
-}
-
-void EventQueue::dispatch(int ms) {
- return equeue_dispatch(&_equeue, ms);
-}
-
-void EventQueue::break_() {
- return equeue_break(&_equeue);
-}
-
-unsigned EventQueue::get_tick() {
- return events_tick();
-}
-
-void EventQueue::cancel(int id) {
- return event_cancel(&_equeue, id);
-}
-
-
