SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
API 6
introduction
Webinar Insight 2
Hosted by: Pavel Sodomka
6.6.2019
About this webinar
Who is this webinar insight for?
Sales, technical pre-sales, sales, support SO’s and integrators, IoT platforms.
Technical level:
intermediate
Format:
30 mins presentation + 15 mins Questions & Answers session
Speaker:
Pavel Sodomka, Founder & CEO at SimpleHW
Why API 6 ?
Sigfox limitations of 12 bytes in upload and 8 bytes in download
Normal way of device control in non-Sigfox solutions
What documentation is available where right now:
Everything over at ask.simplehw.eu with links to various documents
Very important is the API 6 table found there as well
All documentation is currently being rewritten and moved to Confluence, will be published soon
4 major issues
1. Data/uplink interpretation
2. Getting business logic to the devices
3. Data coding/compression
4. Device control - downlink
1. Data interpretation/uplink
1. Using always 1st Byte to report which mode/business logic the device is at
2. Using always 2nd Byte to send of the predefined Type of event
3. Depending on mode
a. Using Appended payload and the 3rd Byte as as mask defining following data
b. Using all 10 Bytes as mode specific data
Button press in Press me mode: 0130
Temperature monitoring with pipeline: 11855345584A5C4560435C41
Appended payload
Can be added to:
1. any event that does not have event specific payload (1-128)
2. heartbeats 1,2
1 Bytes is used as mask for interpretation
Appended can be the following data: voltage, temperature, accelerometer, magnetometer, MAC
address, boolean & humidity
Example: 01304076 (single button press in Press me mode that sends you the temperature around the
device - 18°C (0x76) in this case)
1. Data interpretation
Advantages:
● Human readable uplink in most cases
● Stateless data interpretation
● Clearly predefined events for further processing
● As small payload as possible
1. Data interpretation
Exceptions:
1. Stupid mode1 - sending only 2 MAC addresses at predefined time for localisation
2. Stupid mode2 - sending null payload at predefined time for localisation
3. WiFi Atlas modes - sending 2 messages and second message is just 2 MAC addresses
4. Monitor me - once you change sampling period it is not stateless, you must keep the period in
platform for proper data interpretation
2. Getting business logic to the devices
Stupid vs. smart devices
Why Sigfox needs smart devices
Influence on number of messages/message size/battery life
Mode is a combination of:
● What is measured, when and how long
● Measurement evaluation
● What is sent and when
Modes are crucial for integrators but end customer should never switch modes
2. Getting business logic to the devices
Modes - currently around 60 implemented
Examples:
Press me
Trace me
Monitor me
Put me back
2. Getting business logic to the devices
More modes added at customer request
Examples:
WiFi High precision mode
Reed counter mode
Blink till switched off
3. Data coding/compression
Sigfox downlink payload is limited to 12 Bytes
Unique coding for Time (values from one second to 63 days)
Unique coding for Temperature (values from -40°C to +87,5°C; 0,5°C precision)
Unique coding for Voltage (values from 0 to 9,9V; 0,1V precision)
Data coding/compression - Time
Values from one second to 63 days
First 2 bits define seconds (00), minutes (01), hours (10) or days (11)
The remaining 6 define the number 1-63 (000001-111111)
Example:
01001111
-01: minutes
-001111: 15
-15 minutes in one byte (hex is 0x4F)
Data coding/compression - Temperature
Predefined values from -40°C to +87,5°C found in the API 6 table
0,5°C precision)
Total of 256 values (one byte)
Examples:
0xC1 - 56,5°C
0xC2 - 57°C
0xC3 - 57,5°C and so on
Data coding/compression - Voltage
Values from 0 to 9,9V; 0,1V precision
Bits 7-4 define the whole number
Bits 3-0 define the decimal number
Example:
00110001
-0011: 3
-0001: 1
-the result is 3,1V (hex is 0x31)
4.Device control
You have only 8 Bytes so you cannot control a lot right? Not at all.
API 6 is a unique way of controlling thousand of parameters using only 8 bytes
The trick is only a few need to be changed, not hundreds at a time
We use Predefined registers in the device
Downlink contains only a pointer address to the register and value
Using 4 pairs of addresses/values you can change 4 one byte values
4.Device control
Example:
Switching the device to Temperature monitoring and setting the alert to 0°C takes up only 2 Bytes
1D50 0111
-1D50: set register 0x1D (Temp threshold A) to value 0x50 (0°C in SimpleTemp encoding)
-0111: set register 0x01 (mode) to value 0x11 (Temperature monitoring mode)
This leaves two bytes open for other settings such as appended payload and heartbeats etc.
Predefined values
2 sets of values directly predefined in the device:
1. Factory default default registers: circa 100 predefined
Can be changed anytime (with the exception of HW and FW registers) and device keeps the
information
2. Mode specific deltas: each mode has the described in detail in the API 6 table
Erases any customer specific data and replaces some Factory default default registers
Basically gives you a new device when you switch modes
Ways how to trigger Downlink request
1. Extra long press
2. Heartbeat
3. Setup by Alerts configuration (beyond scope of webinar)
4. Downlink chaining
Downlink chaining: explanation and example
If the 8 Bytes in the downlink payload are ascending, the device will request another downlink chain
If the 8 Bytes in the downlink payload are descending, no downlink request is sent
Example: 0102044507981107 - No further downlinks are requested
1107079804450102 - Downlink is requested, payload needs to be changed in the meantime in order to
get the second one into the device
If the same message is received chaining ends.
Heartbeats
Events that are independent of the modes
Description:
● time-triggered events
● can but don’t have to send additional appended data with the message
● without the data, the message can be used to locate the device
● 2 heartbeats can be defined
● Heartbeat3 serves for Stupid1, Stupid2 and MAC sending modes
● The first two can send different data and can request a downlink with new settings
Example:
Send Heartbeat 1 each 6 hours with temperature
Send Heartbeat 2 each 24 hours with downlink request
Some useful registers
Debug (0xFE)
Power (0x55)
HW configuration (0xD3 and 0xD4)
FW revision (0xD1 and 0xD2)
Set RCZ (0x69)
Set RCZ after predefined time (0x68)
Physical control
You can totally switch off the LED, button, buzzer
You can control the light periods and button behavior.
Currently you cannot dim the light.
Arming and disarming
Switching on/off the measurement/mode (not the device!)
Exception is the Press me mode and its variants
Currently you can’t switch the device off (a kill bit is being prepared)
1. Start of arming (event 0x10)
2. Departure delay (register 0x02)
3. Armed (event 0x11)
4. Disarm (multiple ways how to disarm, long press event is 0x14)
Misbehaving registers
Some registers such as general accelerometer or magnetometer sensitivity do not keep their values
but write them through overwriting axes specific values (they work as latches)
Light, logistic events, device inclination alert and
temperature threshold working in all modes
All modes support:
● Light on/off alerts (incl. customizing the % of daylight and hysteresis)
● Movement and movement end detection in all modes (logistics alerts)
● Device inclination (measured in degrees, 0-180°)
● Temperature exceeded or fell under a customized threshold
Changelog and FW releases
Found here: https://ask.simplehw.eu/knowledge-bases/2/articles/131-api-6-firmware-release-notes
Example: newest 6.0.76 release
New features:
Orientation change alert can be added to almost every mode
Tracking can be added to almost every mode
Temperature alert can be added to almost every mode
New Stupid mode 2 sending empty messages in predefined time periods
Reed counter sends a message only if any change happens
Fixed:
Temperature not working properly introduced in FW 71 fixed
Technical changelog of API6 is on the first tab of API6 spreadsheet.
Not covered in this webinar
Alerts - special settings by events
1/3 frames sending
600 bps RC1 encoding
Most of the modes
How to legally send 120 messages per hour in RC1
IOFrog platform support
If you don't want to play with Sigfox backend you can use 99% of API6 functionality and do all the
device management and visualisation at www.iofrog.com.
You can even set it up to use your own current connectivity or to act as a middle ware and send all the
data to your data processing and visualisation platform.
Advantages of API6
● Future proof
● Ability to use it for many devices
● Backwards and forward compatible
● Ability to do and fine tune settings for PoC within hours
● Ability to use same device for PoC and field
● Very easy to implement it into any IoT platform
● Easy to integrate into Azure, AWS, Google, SAP, Salesforce,Watson and other major platforms
Register for more
● Insight 3: IOFrog - not another Sigfox platform?
● Insight 4: Training - 7 biggest mistakes in IoT sales and how to avoid them.
● Insight 5: Why IoT is so important for Insurance companies.
● Insight 6: In LEGO boxes we trust - why we don't do end-to-end solution and the role of
partners in Sigfox ecosystem.
REGISTER HERE
Now it is time for your questions!
Thank you for your time!

Mais conteúdo relacionado

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Último (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SimpleHW API 6 Why is it revolutionary?

  • 1. API 6 introduction Webinar Insight 2 Hosted by: Pavel Sodomka 6.6.2019
  • 2. About this webinar Who is this webinar insight for? Sales, technical pre-sales, sales, support SO’s and integrators, IoT platforms. Technical level: intermediate Format: 30 mins presentation + 15 mins Questions & Answers session Speaker: Pavel Sodomka, Founder & CEO at SimpleHW
  • 3. Why API 6 ? Sigfox limitations of 12 bytes in upload and 8 bytes in download Normal way of device control in non-Sigfox solutions What documentation is available where right now: Everything over at ask.simplehw.eu with links to various documents Very important is the API 6 table found there as well All documentation is currently being rewritten and moved to Confluence, will be published soon
  • 4. 4 major issues 1. Data/uplink interpretation 2. Getting business logic to the devices 3. Data coding/compression 4. Device control - downlink
  • 5. 1. Data interpretation/uplink 1. Using always 1st Byte to report which mode/business logic the device is at 2. Using always 2nd Byte to send of the predefined Type of event 3. Depending on mode a. Using Appended payload and the 3rd Byte as as mask defining following data b. Using all 10 Bytes as mode specific data Button press in Press me mode: 0130 Temperature monitoring with pipeline: 11855345584A5C4560435C41
  • 6. Appended payload Can be added to: 1. any event that does not have event specific payload (1-128) 2. heartbeats 1,2 1 Bytes is used as mask for interpretation Appended can be the following data: voltage, temperature, accelerometer, magnetometer, MAC address, boolean & humidity Example: 01304076 (single button press in Press me mode that sends you the temperature around the device - 18°C (0x76) in this case)
  • 7. 1. Data interpretation Advantages: ● Human readable uplink in most cases ● Stateless data interpretation ● Clearly predefined events for further processing ● As small payload as possible
  • 8. 1. Data interpretation Exceptions: 1. Stupid mode1 - sending only 2 MAC addresses at predefined time for localisation 2. Stupid mode2 - sending null payload at predefined time for localisation 3. WiFi Atlas modes - sending 2 messages and second message is just 2 MAC addresses 4. Monitor me - once you change sampling period it is not stateless, you must keep the period in platform for proper data interpretation
  • 9. 2. Getting business logic to the devices Stupid vs. smart devices Why Sigfox needs smart devices Influence on number of messages/message size/battery life Mode is a combination of: ● What is measured, when and how long ● Measurement evaluation ● What is sent and when Modes are crucial for integrators but end customer should never switch modes
  • 10. 2. Getting business logic to the devices Modes - currently around 60 implemented Examples: Press me Trace me Monitor me Put me back
  • 11. 2. Getting business logic to the devices More modes added at customer request Examples: WiFi High precision mode Reed counter mode Blink till switched off
  • 12. 3. Data coding/compression Sigfox downlink payload is limited to 12 Bytes Unique coding for Time (values from one second to 63 days) Unique coding for Temperature (values from -40°C to +87,5°C; 0,5°C precision) Unique coding for Voltage (values from 0 to 9,9V; 0,1V precision)
  • 13. Data coding/compression - Time Values from one second to 63 days First 2 bits define seconds (00), minutes (01), hours (10) or days (11) The remaining 6 define the number 1-63 (000001-111111) Example: 01001111 -01: minutes -001111: 15 -15 minutes in one byte (hex is 0x4F)
  • 14. Data coding/compression - Temperature Predefined values from -40°C to +87,5°C found in the API 6 table 0,5°C precision) Total of 256 values (one byte) Examples: 0xC1 - 56,5°C 0xC2 - 57°C 0xC3 - 57,5°C and so on
  • 15. Data coding/compression - Voltage Values from 0 to 9,9V; 0,1V precision Bits 7-4 define the whole number Bits 3-0 define the decimal number Example: 00110001 -0011: 3 -0001: 1 -the result is 3,1V (hex is 0x31)
  • 16. 4.Device control You have only 8 Bytes so you cannot control a lot right? Not at all. API 6 is a unique way of controlling thousand of parameters using only 8 bytes The trick is only a few need to be changed, not hundreds at a time We use Predefined registers in the device Downlink contains only a pointer address to the register and value Using 4 pairs of addresses/values you can change 4 one byte values
  • 17. 4.Device control Example: Switching the device to Temperature monitoring and setting the alert to 0°C takes up only 2 Bytes 1D50 0111 -1D50: set register 0x1D (Temp threshold A) to value 0x50 (0°C in SimpleTemp encoding) -0111: set register 0x01 (mode) to value 0x11 (Temperature monitoring mode) This leaves two bytes open for other settings such as appended payload and heartbeats etc.
  • 18. Predefined values 2 sets of values directly predefined in the device: 1. Factory default default registers: circa 100 predefined Can be changed anytime (with the exception of HW and FW registers) and device keeps the information 2. Mode specific deltas: each mode has the described in detail in the API 6 table Erases any customer specific data and replaces some Factory default default registers Basically gives you a new device when you switch modes
  • 19. Ways how to trigger Downlink request 1. Extra long press 2. Heartbeat 3. Setup by Alerts configuration (beyond scope of webinar) 4. Downlink chaining Downlink chaining: explanation and example If the 8 Bytes in the downlink payload are ascending, the device will request another downlink chain If the 8 Bytes in the downlink payload are descending, no downlink request is sent Example: 0102044507981107 - No further downlinks are requested 1107079804450102 - Downlink is requested, payload needs to be changed in the meantime in order to get the second one into the device If the same message is received chaining ends.
  • 20. Heartbeats Events that are independent of the modes Description: ● time-triggered events ● can but don’t have to send additional appended data with the message ● without the data, the message can be used to locate the device ● 2 heartbeats can be defined ● Heartbeat3 serves for Stupid1, Stupid2 and MAC sending modes ● The first two can send different data and can request a downlink with new settings Example: Send Heartbeat 1 each 6 hours with temperature Send Heartbeat 2 each 24 hours with downlink request
  • 21. Some useful registers Debug (0xFE) Power (0x55) HW configuration (0xD3 and 0xD4) FW revision (0xD1 and 0xD2) Set RCZ (0x69) Set RCZ after predefined time (0x68)
  • 22. Physical control You can totally switch off the LED, button, buzzer You can control the light periods and button behavior. Currently you cannot dim the light.
  • 23. Arming and disarming Switching on/off the measurement/mode (not the device!) Exception is the Press me mode and its variants Currently you can’t switch the device off (a kill bit is being prepared) 1. Start of arming (event 0x10) 2. Departure delay (register 0x02) 3. Armed (event 0x11) 4. Disarm (multiple ways how to disarm, long press event is 0x14)
  • 24. Misbehaving registers Some registers such as general accelerometer or magnetometer sensitivity do not keep their values but write them through overwriting axes specific values (they work as latches)
  • 25. Light, logistic events, device inclination alert and temperature threshold working in all modes All modes support: ● Light on/off alerts (incl. customizing the % of daylight and hysteresis) ● Movement and movement end detection in all modes (logistics alerts) ● Device inclination (measured in degrees, 0-180°) ● Temperature exceeded or fell under a customized threshold
  • 26. Changelog and FW releases Found here: https://ask.simplehw.eu/knowledge-bases/2/articles/131-api-6-firmware-release-notes Example: newest 6.0.76 release New features: Orientation change alert can be added to almost every mode Tracking can be added to almost every mode Temperature alert can be added to almost every mode New Stupid mode 2 sending empty messages in predefined time periods Reed counter sends a message only if any change happens Fixed: Temperature not working properly introduced in FW 71 fixed Technical changelog of API6 is on the first tab of API6 spreadsheet.
  • 27. Not covered in this webinar Alerts - special settings by events 1/3 frames sending 600 bps RC1 encoding Most of the modes How to legally send 120 messages per hour in RC1
  • 28. IOFrog platform support If you don't want to play with Sigfox backend you can use 99% of API6 functionality and do all the device management and visualisation at www.iofrog.com. You can even set it up to use your own current connectivity or to act as a middle ware and send all the data to your data processing and visualisation platform.
  • 29. Advantages of API6 ● Future proof ● Ability to use it for many devices ● Backwards and forward compatible ● Ability to do and fine tune settings for PoC within hours ● Ability to use same device for PoC and field ● Very easy to implement it into any IoT platform ● Easy to integrate into Azure, AWS, Google, SAP, Salesforce,Watson and other major platforms
  • 30. Register for more ● Insight 3: IOFrog - not another Sigfox platform? ● Insight 4: Training - 7 biggest mistakes in IoT sales and how to avoid them. ● Insight 5: Why IoT is so important for Insurance companies. ● Insight 6: In LEGO boxes we trust - why we don't do end-to-end solution and the role of partners in Sigfox ecosystem. REGISTER HERE
  • 31. Now it is time for your questions!
  • 32. Thank you for your time!