Reworked BLE according to v0.11 of the KTag Beacon Specification (#2)
This was done to support the new KTag Konfigurator app, which Jack created for his Senior Design project. Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #2
This commit is contained in:
parent
4fe072f2d3
commit
bfcdf4c354
26 changed files with 917 additions and 128 deletions
|
@ -109,9 +109,9 @@ static inline void PackPulseTrain(TimedPulseTrain_T *pulsetrain, uint32_t data)
|
|||
|
||||
TimedPulseTrain_T *NEC_EncodePacket(CommandPacket_T *packet)
|
||||
{
|
||||
uint32_t packed_data = 0x00000000;
|
||||
uint32_t data = packet->data;
|
||||
|
||||
PackPulseTrain(&Command_Send_Buffer, packed_data);
|
||||
PackPulseTrain(&Command_Send_Buffer, data);
|
||||
|
||||
return &Command_Send_Buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue