]> git.scottworley.com Git - tattlekey/blame - client/config.c
client: Initial wifi connection time: 10s → 90s
[tattlekey] / client / config.c
CommitLineData
fbc57595
SW
1#include "config.h"
2
1d699cc3 3/* Wi-Fi credentials */
fbc57595
SW
4char wifi_ssid[] = "THEWIFISSID";
5char wifi_pass[] = "THEWIFIPASSWORD";
1e0a316e 6
1d699cc3 7/* Network address of the server to contact */
1e0a316e
SW
8char tattle_server_ip_address[] = "192.168.10.10";
9u16_t tattle_port = 29803; // 'tk'
10
1d699cc3 11/* For distinguishing reports from multiple tattlekey devices. */
1e0a316e 12u16_t this_tattler_identity = 1;
d1521eda
SW
13
14/* Which GPIO pin is the button connected to?
15 * The button should span this pin and ground, connecting this pin to ground
16 * when pressed.
17 * https://projects.raspberrypi.org/en/projects/introduction-to-the-pico/10
18 * recommends pins 18, 22, or 28. */
19uint button_pin = 18;