Skip to content

Commit 4444662

Browse files
Enjoy, world!
1 parent ac6669f commit 4444662

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
## Prerequisites
1818
Hop on over to [the Particle.io store](https://store.particle.io) and order any of their cool devices.
1919

20-
> While developing this plugin and the [demo app](demo/) I used a [Photon Kit](https://store.particle.io/collections/photon) and it was a joy to work with (thanks, [Brandon Satrom](https://twitter.com/BrandonSatrom) for sending one over)!
20+
> While developing this plugin and the [demo app](demo/) I used a [Photon Kit](https://store.particle.io/collections/photon) and it was a joy to work with.
21+
>
22+
> Thanks, [Brandon Satrom](https://twitter.com/BrandonSatrom) for sending one over!
2123
2224
## Installation
2325
```bash
@@ -90,9 +92,9 @@ The returned list of `TNSParticleDevice` objects has these properties and functi
9092
| id | `string` | The unique ID of this device. |
9193
| name | `string` | The given name of this device. |
9294
| status | `string` | The current status of the device, usually `normal`. |
93-
| type | `[TNSParticleDeviceType](https://github.com/EddyVerbruggen/nativescript-particle/blob/618dea7d0a5d3c1cd9cb287e70142375547faa60/src/particle.common.ts#L1-L10)` | One of `Unknown`, `Core`, `Photon`, `P1`, `Electron`, `RaspberryPi`, `DigistumpOak`, `RedBearDuo`, `Bluz`. |
95+
| type | [`TNSParticleDeviceType`](https://github.com/EddyVerbruggen/nativescript-particle/blob/618dea7d0a5d3c1cd9cb287e70142375547faa60/src/particle.common.ts#L1-L10) | One of `Unknown`, `Core`, `Photon`, `P1`, `Electron`, `RaspberryPi`, `DigistumpOak`, `RedBearDuo`, `Bluz`. |
9496
| functions | `Array<string>` | The list of functions currently available on the device. You can invoke these with `callFunction` (see below). |
95-
| variables | Array<[TNSParticleDeviceVariable](https://github.com/EddyVerbruggen/nativescript-particle/blob/618dea7d0a5d3c1cd9cb287e70142375547faa60/src/particle.common.ts#L38-L41)> | The list of variables currently available on the device. You can get their values with `getVariable` (see below). |
97+
| variables | `Array<`[`TNSParticleDeviceVariable`](https://github.com/EddyVerbruggen/nativescript-particle/blob/618dea7d0a5d3c1cd9cb287e70142375547faa60/src/particle.common.ts#L38-L41)`>` | The list of variables currently available on the device. You can get their values with `getVariable` (see below). |
9698

9799
#### `<device>.callFunction`
98100
You can invoke any of the `functions` you discovered on the device.

0 commit comments

Comments
 (0)