SX1278 setup, register by register
No library: the buoy sets up its SX1278 from the datasheet with plain SPI. Reset, version check, LoRa mode, the frequency in three bytes, the modem config, and a packet sent through the FIFO.
Open it in the simulator