📄 readme
字号:
Similar to net.tinyos.packet, but based on the struct-layout dumping-abilityof nesc.It would have been nice to reuse the net.tinyos.packet infrastructure, butthat wasn't based on the right abstractions.The basic underlying abstraction for this message-format layer is theelement, which is defined by its type, bit offset and bit length.Possible types are unsigned integer, signed integer, float, doubleand long (the last 3 are actually identical, and always 32 bits long).Due to Java restrictions, 64-bit unsigned integer types do not workproperly (but avr-gcc doesn't support integers greater than 32 bitsanyway...).Fields represent one (simple fields) or more (array fields) elements.A field has a name, and:for simple fields: an element specificationfor array fields: an n-dimensional array specification offset, bitsize and arraysize for each dim an element specification array field f[i[1], ..., i[n]] is found at offset sum(j = 1 .. n, offset[j] + i[j] * bitsize[j]) + element offset
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -