Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: HCI_LE_Rand and HCI_LE_Encrypt support in HostTestRelease?

$
0
0

[quote user="greenja"]

Is there some reason you need to do this through the HCI, could this not be done in your code?  You could call the RND function as per the user manual, have it execute and return you the value.

[/quote]

My reason is that I'm using the CC2541 in network processor mode and I already have all the machinery for sending HCI commands and receiving the events. Adding a custom function is possible, but then I would have to figure out how to integrate it with the BLE runtime, so as to not disturb the normal application flow/state.

Thanks for the code snippet, and for following through with this discussion.


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>