Skip to content

Commit

Permalink
Fixed to handle values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheong2K committed Apr 16, 2014
1 parent ec1f611 commit ebd8ec5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void bleshield_central_write_bytes(uint8 *buf, uint8 len)
{
attWriteReq_t writeReq;

writeReq.handle = 0x0010;
writeReq.handle = 0x000b;
writeReq.len = len;
memcpy(writeReq.value, buf, len);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void biscuit_central_write_bytes(uint8 *buf, uint8 len)
{
attWriteReq_t writeReq;

writeReq.handle = 0x0019;
writeReq.handle = 0x0016;
writeReq.len = len;
memcpy(writeReq.value, buf, len);

Expand All @@ -51,7 +51,7 @@ void biscuit_central_enable_notification()
{
attWriteReq_t writeReq;

writeReq.handle = 0x0016;
writeReq.handle = 0x0013;
writeReq.len = 2;
writeReq.value[0] = 0x01;
writeReq.value[1] = 0x00;
Expand Down

0 comments on commit ebd8ec5

Please sign in to comment.