Skip to content

Commit

Permalink
armsrc/sam_seos.c: add SoRootOID in sam_request_pacs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jkramarz committed Jan 6, 2025
1 parent 0d78218 commit 4d6a075
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions armsrc/sam_seos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4d6a075

Please sign in to comment.