Interface: tos.chips.bc4.HalBt
interface HalBt
BlueCore 4 Hal Interface.
- Author:
-
Rasmus Ulslev Pedersen
Based on NXT files.
Commands
command UWORD cCommReq(UBYTE Cmd, UBYTE Param1, UBYTE Param2, UBYTE Param3, UBYTE *pName, UWORD *pRetVal)
command void getFullControl(VARSCOMM **ppVarsComm, IOMAPCOMM **ppIOMapComm)
command error_t sendMsg(uint8_t *msg)
Events
Commands - Details
cCommReq
command UWORD cCommReq(UBYTE Cmd, UBYTE Param1, UBYTE Param2, UBYTE Param3, UBYTE *pName, UWORD *pRetVal)
getFullControl
command void getFullControl(VARSCOMM **ppVarsComm, IOMAPCOMM **ppIOMapComm)
getNxtIndex
command UBYTE getNxtIndex()
sendMsg
command error_t sendMsg(uint8_t *msg)
- Parameters:
-
msg
- Message to send.
Events - Details
btUpdateEvent
event void btUpdateEvent(UBYTE ActiveUpdate, UBYTE UpdateState)
dataReceived
event void dataReceived()