mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
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:
parent
c28ddd1d56
commit
dfb5fa3de4
1 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue