ApiServiceImpl

class ApiServiceImpl(client: HttpClient) : ApiService(source)

Ktor-based ApiService implementation.

Uses relative paths — the base URL is set via the DefaultRequest plugin in the platform Koin modules.

Registered with binds = [] to prevent Koin from auto-binding to ApiService; host modules (app, desktop) provide their own explicit ApiService binding to allow platform-specific HttpClient engines.

Constructors

Link copied to clipboard
constructor(client: HttpClient)

Functions

Link copied to clipboard
open suspend override fun getDeviceHardware(): List<NetworkDeviceHardware>

Fetches the device hardware catalog from the Meshtastic API.

Link copied to clipboard
open suspend override fun getFirmwareReleases(): NetworkFirmwareReleases

Fetches the list of available firmware releases from the Meshtastic API.