Hey all,
my setup: RPI4 + SE050ARD + I2C externally wired, most things I tried out worked fine, despite one:
I am trying to open a Session using a UserID, which I created using Se05x_API_WriteUserID. As a starting point I am using demos/se05x/se05x_Minimal.c. Overall I use the following lines according to the documentation (see image):
const uint8_t uid[] = {0x01, 0x02, 0x03, 0x04};
const uint32_t my_id = 0xEF000001;
uint8_t sess_id[8];
size_t sess_len = 8;
sm_status = Se05x_API_CreateSession(&pSession->s_ctx, my_id, sess_id, &sess_len);
cout << "create session status: "<< std::hex << sm_status << endl;
sm_status = Se05x_API_VerifySessionUserID(&pSession->s_ctx, uid, 4);
cout << "verify session status: " << std::hex << sm_status << endl;
this will output:
create session status: 9000
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5621 Function:sss_se05x_TXn
verify session status: 6B00
means my session is created, but afterwards I get 6B00 which I can't find as error-code. Furthermore the documentation states that the sessionID shall be passed to VerifySessionUserID, but there is no parameter for it. Or should I somehow update pSession?
Is there somewhere a complete UserID-based session sample?
Can I actually use the se05x_Minimal-example for this using the included main() approach?

Thank you,
best wishes