Ale przy próbie rejestracji w Supli, po wpisaniu danych sieci itd, wywala błędy jak poniżej:
Code: Select all
Device name: SUPLA-INPUT-EXAMPLE
Device software version: SDK 24.03-dev
Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-INPUT-EXAMPL-08B61FB800C0
Using Supla protocol version 21
Current status: [5] SuplaDevice initialized
Enter normal mode
**** Param[param1]: To jest tekst
**** Param[param2]: 5698
WiFi: establishing connection with SSID: "Mr.White"
Connected BSSID: 14:CC:20:89:1F:36
local IP: 10.108.6.116
subnetMask: 255.255.255.0
gatewayIP: 10.108.6.10
Signal strength (RSSI): -68 dBm
Establishing encrypted connection with: svr30.supla.org (port: 2016)
Connected via IP 10.108.6.116
SSL error: 48, PADLOCK - Input data should be aligned
LAST STATE ADDED: PADLOCK - Input data should be aligned
Connected to Supla Server
Initializing SRPC
LAST STATE ADDED: Register in progress
Current status: [10] Register in progress
CH #0, type: 2900, FuncList: 0xEF, default: 0, flags: 0x1010000, value: [00 00 00 00 00 00 00 00]
CH #1, type: 11000, FuncList: 0xFC03, default: 700, flags: 0x10000, value: [01 00 08 00 00 00 00 00]
Send: [53 55 50 4C 41 15 01 00 00 00 45 00 00 00 7A 02 00 00 6D 7A 61 77 72 7A 65 6C 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 (...)
2D 49 4E 50 55 54 2D 45 58 41 4D 50 4C 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 15 01 00 00 00 46 00 00 00 07 00 00 00 11 00 00 00 78 18 01 53 55 50 4C 41 ]
LAST STATE ADDED: Registration disabled!
Current status: [31] Registration disabled!
Deinitializing SRPC
Establishing encrypted connection with: svr30.supla.org (port: 2016)
Connected via IP 10.108.6.116
SSL error: 48, PADLOCK - Input data should be aligned
Connected to Supla Server
Initializing SRPC
Code: Select all
// configure defualt Supla CA certificate
SuplaDevice.setSuplaCACert(suplaCACert);
SuplaDevice.setSupla3rdPartyCACert(supla3rdCACert);
Nie używam SSL, ani nie chcę używać.
Chyba, że w tym przypadku trzeba...
Pomocy...