Skip to content

Commit

Permalink
feat: optimize gap parser (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Jun 15, 2023
1 parent c598c2d commit 5800d45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bluetooth_data_tools/gap.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ cdef cython.uint TYPE_TX_POWER_LEVEL


@cython.locals(
gap_data=cython.bytes,
gap_value=cython.bytes,
gap_type_num=cython.uint
gap_type_num=cython.uint,
total_length=cython.uint,
length=cython.uint,
offset=cython.uint,
start=cython.uint,
end=cython.uint,
)
cpdef parse_advertisement_data(object data)

0 comments on commit 5800d45

Please sign in to comment.