|
SmartSnippets DA1459x SDK
|
This application provides a Command Line Interface handling functions and events from the SDK APIs.
Supported APIs:
ble_gap.hble_gatts.hble_gattc.hhw_gpio.hhw_timer1.h and hw_timer2.h (DA1468x) or hw_timer.h(DA1459X and DA1469x) - PWM related features onlyhw_wkup.hThe project is located in the projects/dk_apps/demos/ble_cli folder.
To install the project follow the General Installation and Debugging Procedure.
Use a uart termninal (Putty etc) in order to establish uart communication with the following settings:
To use the application, the device must be connected over a serial port. Once the application has started, the message "ble_cli application started" will be printed out.
The commands are split in categories named after the supported APIs. To list all available commands per category type the category name i.e.:
In case category name does not match any of the supported APIs, all available categories will be printed out.
To find command arguments type command then help. Application will print the helper pattern i.e.:
The command helper pattern will also be printed if any of the mandatory arguments is invalid or missing.
To run a command type it with all its mandatory arguments. The ommitted optional arguments are set to their default value.
Example:
will set the device address to private, 80:EA:AD:00:00:00 with the default renew duration (see ble_config.h).
Application will print notifications on GAP, GATTS, or GATTC events. Event Notification contains event data and event name i.e.:
1.8.16