Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright 2018 ARM Limited or its affiliates
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
d2 # tag(18)
84 # array(4)
44 # bytes(4)
a103182a # "\xA1\x03\x18*"
a0 # map(0)
58 cd # bytes(205)
8a02a4016e5468697320697320612074657374026e412074657374207061796c6f6164036f412073616d706c652076656e646f720475416e206578706572696d656e74616c206d6f64656c5079b3842b84b43d96aa429f57eda050e11a5aae3b2482820150fa6b4a53d5ad5fdfbe9de663e4d41ffe8202501492af1425695e48bf429b2d51f2ab45f6f6f6f68781011043666f6f81826e687474703a2f2f666f6f2e636f6d018101a1015820c31211d1ff88f77a5aaf653677895bfca769f06da198a8fa71156aa64acd695df6 # "\x8A\x02\xA4\x01nThis is a test\x02nA test payload\x03oA sample vendor\x04uAn experimental modelPy\xB3\x84+\x84\xB4=\x96\xAAB\x9FW\xED\xA0P\xE1\x1AZ\xAE;$\x82\x82\x01P\xFAkJS\xD5\xAD_\xDF\xBE\x9D\xE6c\xE4\xD4\x1F\xFE\x82\x02P\x14\x92\xAF\x14%i^H\xBFB\x9B-Q\xF2\xABE\xF6\xF6\xF6\xF6\x87\x81
/* SUIT pseudo bootloader
* Created at the IETF 101 Hackathon
* Receives a manifest to RAM and verifies it
* https://os.mbed.com/compiler/#nav:/uart_pseudo_bootloader/main.cpp
*/
#include "mbed.h"
#define RXBUFFERSIZE 1024 // Size of RAM buffer for receiving the manifest

stand_alone: true docname: draft-iab-iotsi-workshop cat: info submissiontype: IETF pi: compact: 'yes' text-list-symbols: o*+- subcompact: 'no' sortrefs: 'yes'

@jaimejim
jaimejim / board.jpeg
Last active July 15, 2018 15:33
Firmware Updates for IoT - IETF102 Hackathon
board.jpeg
@jaimejim
jaimejim / suit-tutorial-102.md
Last active August 15, 2018 10:31
Firmware Updates

FIRMWARE UPDATES FOR IOT

Image

Attendees:

  • Hannes Tschofenig
  • Jaime Jiménez
  • Thomas Fossatti
@jaimejim
jaimejim / recommendation_francesco.md
Last active July 25, 2018 12:38
PhD Candidate - Francesco Caturano

Dear Selection Committee,

It is a pleasure to recommend Mr Francesco Caturano for a PhD programme in Information Technology.

I have known Francesco during the year I was advisor on his Master’s project at Ericsson; his thesis versed on the problem of discovery of Resources in Internet of Things (IoT) networks. He did an excellent work not only while researching the state of the art but with figuring out innovative solutions in the area and implementing them; just as he did when building an IoT crawler. He successfully completed his Master at the University Federico II.

During the time we worked together I found him to be an inquisitive person, with attention to detail and perseverance. I was impressed by his quick dive into de IoT field and fast consumption of complex bibliographic material such as; RFCs, Scientific Publications and Open Source materials. He was also eager to start working on the implementation side of his thesis, selecting JavaScript as his preferred language for the task.

During h

@jaimejim
jaimejim / suit.cpp
Last active September 26, 2018 12:36
Sample Bootloader SUIT validation
/*
* Copyright (C) 2018 Freie Universitat Berlin
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <stdio.h>