- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am using int64_t data type and I want to print it on WICED_BT_TRACE. I have tried % PRId64 as well as %f but it is not getting printed.
please help.
thanks and regards
Neeraj Dhekale
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NeDh_4602711 ,
I am sorry, Unfortunately no option to directly print 64 bit numbers in WICED_BT_TRACE. You may have to break it up and print. You may try an union defined with 1 32-bit array of size 2 and 1 64-bit integer so it is easy to use.
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Neeraj,
Can you try using %lld if it works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried with this as well but it is not working.
Regards
Neeraj
On Wed, 30 Sep 2020 at 9:28 AM, SheetalJ_96 <community-manager@cypress.com>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NeDh_4602711 ,
I am sorry, Unfortunately no option to directly print 64 bit numbers in WICED_BT_TRACE. You may have to break it up and print. You may try an union defined with 1 32-bit array of size 2 and 1 64-bit integer so it is easy to use.
Regards,
Anjana