]> git.scottworley.com Git - tattlekey/blob - client/config.h
95c5651b27ec5881b3d5ebaedd2e0181359f6fb6
[tattlekey] / client / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #include "lwip/arch.h"
5
6 /* Wi-Fi credentials */
7 extern char wifi_ssid[];
8 extern char wifi_pass[];
9
10 /* Network address of the server to contact */
11 extern char tattle_server_ip_address[];
12 extern u16_t tattle_port;
13
14 /* For distinguishing reports from multiple tattlekey devices. */
15 extern u16_t this_tattler_identity;
16
17 /* Which GPIO pin is the button connected to?
18 * The button should span this pin and ground, connecting this pin to ground
19 * when pressed.
20 * https://projects.raspberrypi.org/en/projects/introduction-to-the-pico/10
21 * recommends pins 18, 22, or 28. */
22 extern uint button_pin;
23
24 #endif