ot::Coap::Message::AppendBlockOption() method
Appends a Block option
Arguments
aType
Type of block option, 1 or 2.
aNum
Current block number.
aMore
Boolean to indicate more blocks are to be sent.
Return value
kErrorNone Successfully appended the option. kErrorInvalidArgs The option type is not equal or greater than the last option type. kErrorNoBufs The option length exceeds the buffer size.
ot::Coap::Message::AppendBlockOption() is called by 2 functions and calls 1 function:
![]()
ot::Coap::Message::AppendBlockOption()
ot::Coap::Message::AppendBlockOption() reads 10 variables:
![]()
ot::Coap::Message::AppendBlockOption()