Benutzer-Werkzeuge

Webseiten-Werkzeuge


raspberry-pico-w-stellar-wireless

Raspberry Pico W - Verbindung mit Stellar Wireless

OmniVista 2500 - IoT Inventory

Der Raspberry Pico W wurde korrekt via DHCP/MAC erkannt. Der Zugang zum Stellar WLAN erfolgt via gerätespezifischen PSK (Device-Specific PreSharedKey ⇒ DSPSK).

#include <stdio.h>

#include "pico/stdlib.h"
#include "pico/cyw43_arch.h"

char ssid[] = "Stellar-DSPSK";
char pass[] = "DeviceSpecificPSK-removed";

int main() {
	stdio_init_all();
	if (cyw43_arch_init_with_country(CYW43_COUNTRY_GERMANY)) {
		printf("failed to initialise\n");
		return 1;
	}
	printf("initialised\n");

	cyw43_arch_enable_sta_mode();

	if (cyw43_arch_wifi_connect_timeout_ms(ssid, pass, CYW43_AUTH_WPA2_AES_PSK, 10000)) {
		printf("failed to connect\n");
		return 1;
	}
	printf("connected\n");
}
raspberry-pico-w-stellar-wireless.txt · Zuletzt geändert: 2022/07/09 17:59 von benny

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki