Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Conversation

anttiylitokola
Copy link
Contributor

Remove array to int conversion from the m2msecurity.
Add debug line to print current time received from the BS.

Remove array to int conversion from the m2msecurity.
Add debug line to print current time received from the BS.
uint32_t server_key_size = _security->get_resource(M2MSecurity::ServerPublicKey)->value_length();
uint32_t pkey_size = _security->get_resource(M2MSecurity::Secretkey)->value_length();
M2MDevice* dev = M2MInterfaceFactory::create_device();
uint32_t time = dev->resource_value_int(M2MDevice::CurrentTime);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check dev!=null?

Copy link
Contributor

@kuggenhoffen kuggenhoffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anttiylitokola anttiylitokola merged commit b565eb2 into mbed-cloud-client-rel1.2 Mar 23, 2017
@anttiylitokola anttiylitokola deleted the bytearray_to_int branch March 23, 2017 07:49
yogpan01 pushed a commit that referenced this pull request Apr 19, 2017
Move bytearray to int conversion one layer up to TLV parser.
anttiylitokola pushed a commit that referenced this pull request May 6, 2017
Move bytearray to int conversion one layer up to TLV parser.
anttiylitokola pushed a commit that referenced this pull request May 11, 2017
Move bytearray to int conversion one layer up to TLV parser.
anttiylitokola pushed a commit that referenced this pull request May 12, 2017
Move bytearray to int conversion one layer up to TLV parser.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants