Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed BLE_API nRF51822
ServicePower.cpp
00001 #include "ServicePower.h" 00002 #define UUID_POWER(FIRST, SECOND) {\ 00003 0xd4, 0x9f, FIRST, SECOND, 0xce,0xb2, 0x4c, 0x39, 0xa4, 0xea,\ 00004 0x85, 0xfa, 0xfa, 0xae, 0x22, 0xbf\ 00005 } 00006 00007 const uint8_t Power_service_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x80); 00008 const uint8_t Power_value_char_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x81); 00009 const uint8_t Power_state_char_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x82);
Generated on Wed Jul 13 2022 03:55:21 by
1.7.2