
simple project to control mirrorless camera
Dependencies: mbed BLE_API nRF51822
bleservices/ServicePower.cpp@4:adfb32273577, 2019-08-02 (annotated)
- Committer:
- vilesovds
- Date:
- Fri Aug 02 08:22:18 2019 +0000
- Revision:
- 4:adfb32273577
- Parent:
- 3:38ec35b54db8
Simple project to control mirrorless camera
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vilesovds | 3:38ec35b54db8 | 1 | #include "ServicePower.h" |
vilesovds | 3:38ec35b54db8 | 2 | #define UUID_POWER(FIRST, SECOND) {\ |
vilesovds | 3:38ec35b54db8 | 3 | 0xd4, 0x9f, FIRST, SECOND, 0xce,0xb2, 0x4c, 0x39, 0xa4, 0xea,\ |
vilesovds | 3:38ec35b54db8 | 4 | 0x85, 0xfa, 0xfa, 0xae, 0x22, 0xbf\ |
vilesovds | 3:38ec35b54db8 | 5 | } |
vilesovds | 3:38ec35b54db8 | 6 | |
vilesovds | 3:38ec35b54db8 | 7 | const uint8_t Power_service_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x80); |
vilesovds | 3:38ec35b54db8 | 8 | const uint8_t Power_value_char_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x81); |
vilesovds | 3:38ec35b54db8 | 9 | const uint8_t Power_state_char_UUID[UUID::LENGTH_OF_LONG_UUID] = UUID_POWER(0x20, 0x82); |