Цитата Сообщение от Alf500 Посмотреть сообщение
Структура понятна... непонятно в каком виде данные должны быть?
Пересмотрел повнимательней код... разобрался. Поднялось вроде... и сервер свою видит, и клиентам выдается.
# ./usbhasp v8-500-user.json v8-server-x64.json
usbhasp[2298]: Loaded key 0: '1C:Предприятие 8.x, 500 лицензий', Created: 21/04/2019
usbhasp[2298]: Loaded key 1: '1C Enterprise Server x64', Created: 21/04/2019
usbhasp[2298]: USB device created usb_vhci_hcd.0 (bus# 3)
usbhasp[2298]: Port 1 is powered on -> connecting device.
usbhasp[2298]: Port 1 connected.
usbhasp[2298]: Port 2 is powered on -> connecting device.
usbhasp[2298]: Port 2 connected.
usbhasp[2298]: Port 1 is disabled.
usbhasp[2298]: Set device on port 1 address = 2
usbhasp[2298]: Port 2 is disabled.
usbhasp[2298]: Set device on port 2 address = 3