| // |
| // dropcam_btle_profile_def.h |
| // |
| // Created by Loren Kirkby on 5/29/13. |
| // Copyright (c) 2013 Loren Kirkby. All rights reserved. |
| // |
| |
| #ifndef BTLESetup_DropcamBTDefines_h |
| #define BTLESetup_DropcamBTDefines_h |
| |
| #define DROPCAM_SVC_UUID "d2d3f8ef-9c99-4d9c-a2b3-91c85d44326c" |
| #define DROPCAM_TRANSFER_READ_CHR_UUID "0fde7f14-864a-4f7f-8dbe-7ac1f4ea4b91" |
| #define DROPCAM_TRANSFER_WRITE_CHR_UUID "7606123e-4282-4ed4-aca1-2374de7fdb61" |
| |
| struct DropcamBTLEPayloadHeader { |
| uint8_t seqnum; |
| } __attribute__((packed)); |
| |
| #define PAYLOAD_HEADER_SIZE (sizeof struct DropcamBTLEPayloadHeader) |
| |
| struct DropcamBTLEMessageHeader { |
| uint8_t type; |
| } __attribute__((packed)); |
| |
| #endif |