armsrc/sam_seos.c: add SoRootOID in sam_request_pacs

As described in 5326-903 OMNIKEY 5326 Software Developer Guide (https://www.hidglobal.com/documents/omnikey-5326-dfr-developers-guide). Seems like it should be here since the beginning, but worked fine without.
This commit is contained in:
Jakub Kramarz 2025-01-06 12:15:59 +01:00
commit dfb5fa3de4

View file

@ -217,11 +217,14 @@ static int sam_request_pacs(uint8_t * pacs, uint8_t * pacs_len){
// send get pacs
static const uint8_t payload[] = {
0xa0, 5, // <- SAM command
0xa1, 3, // <- get PACS
0xa0, 19, // <- SAM command
0xA1, 17, // <- SamCommandGetContentElement
0x80, 1,
0x04
0x04, // <- implicitFormatPhysicalAccessBits
0x84, 12,
0x2B, 0x06, 0x01, 0x04, 0x01, 0x81, 0xE4, 0x38, 0x01, 0x01, 0x02, 0x04 // <- SoRootOID
};
sam_tx_len = sizeof(payload);
memcpy(sam_tx_buf, payload, sam_tx_len);