Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/makers/pycom/antennas.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { MakerAntenna } from '../antennaMakerTypes'

const PYCOM_US = {
name: 'Pycom Helium Hotspot (US 915)',
gain: 1.2,
} as MakerAntenna

const PYCOM_EU = {
name: 'Pycom Helium Hotspot (EU 868)',
gain: 2.3,
} as MakerAntenna

export default { PYCOM_US, PYCOM_EU }
38 changes: 38 additions & 0 deletions src/makers/pycom/hotspots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import HotspotIcon from './pycom.svg'
import { MakerHotspot } from '../hotspotMakerTypes'
import ANTENNAS from './antennas'

const PycomHotspotBLE = {
name: 'Pycom Helium Hotspot',
icon: HotspotIcon,
onboardType: 'BLE',
translations: {
en: {
diagnostic:
'<b><white>Diagnostic support allows Pycom Ltd. to identify issues with your Hotspot in a secure way.</white></b>\n\nPycom Ltd. will never have access to private keys and will only ever be able to access your Hotspot and not any other devices on your Network.\n\nIf you would like to opt-out of diagnostic support please email <purple><b>helium@pycom.io</b></purple> from the email used to purchase the Hotspot.',
power: [
'Attach the antennas (WiFi & LoRa) and plug in the provided power adapter.',
'Your Hotspot will boot up, and its light will become Green when ready.',
],
bluetooth: [
'Press the black button on your Hotspot. Its light should start flashing.',
"Ensure your phone's bluetooth is on before proceeding",
],
},
ja: {
// TODO: Translate strings for diagnostic, power, and bluetooth
},
ko: {
// TODO: Translate strings for diagnostic, power, and bluetooth
},
zh: {
// TODO: Translate strings for diagnostic, power, and bluetooth
},
},
antenna: {
us: ANTENNAS.PYCOM_US,
default: ANTENNAS.PYCOM_EU,
},
} as MakerHotspot

export default { PycomHotspotBLE }
9 changes: 9 additions & 0 deletions src/makers/pycom/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import antennas from './antennas'
import hotspots from './hotspots'

export default {
antennas,
hotspots,
id: 99999, // TODO: Get maker id from onboarding server
supportEmail: 'helium@pycom.io',
}
15 changes: 15 additions & 0 deletions src/makers/pycom/pycom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.