Skip to content

Instantly share code, notes, and snippets.

View jdevoo's full-sized avatar

JP de Vooght jdevoo

View GitHub Profile
@jdevoo
jdevoo / notes.md
Created December 21, 2018 13:21
Mainflux Demo

Mainflux Demo

intro

The Mainflux domain model is based around 3 entities: users, things and channels

user represents the real (human) user of the system

things represents devices and applications connected to Mainflux. There are two types of "things" supported at the moment: device and app. Device is used to represent any physical device connected to the platform. App represents any 3rd party service that uses the platform for message exchange with things.

channel represents a communication channel and serves as message topic that can be consumed by things connected to it

@jdevoo
jdevoo / thingy.md
Last active November 24, 2019 12:33

gatttool

obtain mac with hcitool lescan (here FD:19:AF:BA:73:C0)

gatttool -b FD:19:AF:BA:73:C0 -t random --char-desc

spot the following lines (see source)

handle = 0x003f, uuid = ef680406-9b35-4933-9b10-52ffa9740042
handle = 0x0040, uuid = 00002902-0000-1000-8000-00805f9b34fb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FROM debian:stable-slim
RUN mkdir /app
WORKDIR /app
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt update && apt install -y --no-install-recommends \
@jdevoo
jdevoo / mvd.md
Last active October 28, 2024 09:30
MinimumViableDataspace