mirror of https://github.com/ARMmbed/mbed-os.git
Fixed unit tests to work with yotta (make does not work)
parent
3034b1a7c7
commit
13621490c0
|
@ -46,22 +46,23 @@ struct coap_s *sn_coap_protocol_init(void *(*used_malloc_func_ptr)(uint16_t), vo
|
|||
return sn_coap_protocol_stub.expectedCoap;
|
||||
}
|
||||
|
||||
int8_t sn_coap_protocol_set_block_size(struct coap_s *handle, uint16_t block_size)
|
||||
//Yotta is not yet updated to use mbed-client-c 2.x version(git is), so do not modify these 4 yet to contain handle
|
||||
int8_t sn_coap_protocol_set_block_size(uint16_t block_size)
|
||||
{
|
||||
return sn_coap_protocol_stub.expectedInt8;
|
||||
}
|
||||
|
||||
int8_t sn_coap_protocol_set_duplicate_buffer_size(struct coap_s *handle, uint8_t size)
|
||||
int8_t sn_coap_protocol_set_duplicate_buffer_size(uint8_t size)
|
||||
{
|
||||
return sn_coap_protocol_stub.expectedInt8;
|
||||
}
|
||||
|
||||
int8_t sn_coap_protocol_set_retransmission_parameters(struct coap_s *handle, uint8_t resending_count, uint8_t resending_intervall)
|
||||
int8_t sn_coap_protocol_set_retransmission_parameters(uint8_t resending_count, uint8_t resending_intervall)
|
||||
{
|
||||
return sn_coap_protocol_stub.expectedInt8;
|
||||
}
|
||||
|
||||
int8_t sn_coap_protocol_set_retransmission_buffer(struct coap_s *handle, uint8_t buffer_size_messages, uint16_t buffer_size_bytes)
|
||||
int8_t sn_coap_protocol_set_retransmission_buffer(uint8_t buffer_size_messages, uint16_t buffer_size_bytes)
|
||||
{
|
||||
return sn_coap_protocol_stub.expectedInt8;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue