Passing rx from NRF.nfcRx to C code #3635
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2021-01-28 by @gfwilliams Hi - the code looks good, but can you try My guess is it'll then error with I believe it's because |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-01-28 by DanTheMan827
I'm trying to implement a custom ntag215 emulator with the bulk of it in C, but I'm having an issue passing the received data to my C function.
Here's the function signature:
I've tried this since it was the same general code that I used to point the C code to my storage array, but accessing rx[0] from the C code just reads 0
the console logs the full expected rx array, but the C function doesn't see the expected values, I'm assuming it's something related to a data type mismatch between the javascript and c code.
Beta Was this translation helpful? Give feedback.
All reactions