B&B Electronics Parallel Printer Card PIOC Bedienungsanleitung Seite 50

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 64
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 49
GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
Data to device
!00<CR>
Example SW<SP>0>3<CR>
!00<CR>
AT<CR>
!00<CR>
Write 3 bytes to serial device on port 0
Send AT followed by carriage return (0x0D)
EV - Enable Events
USBwiz can detect SD card and USB devices insert and removal. All events are
returned with % symbol proceeding the event number. Appendix lists all events.
Format EV<SP>v<CR>
!00<CR>
v Events to enable:
0 Disable events
1 Enable SD card events
2 Enable USB device events
3 Enable USB and SD events
Example EV<SP>3<CR>
!00<CR>
%02<CR>
Enable all events
SD card was removed
SK - Store Key
Storing a manufacturer key on USBwiz, to validate originality:
1. User will send a secret key to USBwiz through this command.
2. The secret key is saved permanently in USBwiz and it can't be read, verified or
deleted after it is been saved.
3. The manufacture will place the correct firmware on USBwiz and the "Secret key"
before it ships to the customer.
4. The key is 16 bytes and stored as in "SK
00112233445566778899AABBCCDDEEFFCS"
SK is Store Key command and then it is followed by 16 bytes (every byte is 2
ASCII Hexadecimal Characters) and then it ends with the checksum which is the
sum of all bytes.
5. If the checksum is valid and no key existed before then USBwiz will save it.
This key can only be erased after uploading USBwiz firmware.
Format SK<SP>16Bytes + CS<CR>
!00<CR>
16Bytes key to be stored.
CS Check Sum of the bytes: This is just
the bytes added together.
Example SK<SP>010203040506070
8090A0B0C0D0E0F1088<
CR>
!00<CR>
0102030405060708090A0B0C0D0E0F
10 16Bytes
88 The Check Sum
Rev.2.27 Page 50 of 64 www.ghielectronics.com
Seitenansicht 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 63 64

Kommentare zu diesen Handbüchern

Keine Kommentare