Skip to content

Instantly share code, notes, and snippets.

View Gringox's full-sized avatar

Pedro Valdivieso Gringox

View GitHub Profile
@Gringox
Gringox / template.json
Last active September 26, 2020 19:02
AWS IoT JITP template
{
"Parameters": {
"AWS::IoT::Certificate::Id": {
"Type": "String"
},
"AWS::IoT::Certificate::CommonName": {
"Type": "String"
},
"AWS::IoT::Certificate::Country": {
"Type": "String"
@Gringox
Gringox / jitp.md
Last active August 3, 2021 11:31
AWS IoT Just-In-Time Provisioning (JITP)

AWS IoT Just-In-Time Provisioning (JITP)

Environment

  • Create a Cloud9 environment (any region but eu-south-1).
  • Platform: Ubuntu Server 18.04 LTS.
  • Leave everything else as default.

Start from a clean directory

@Gringox
Gringox / aws_iot_connecting.md
Last active March 4, 2021 21:16
Connecting to AWS IoT

Connecting to AWS IoT

Environment

  • Create a Cloud9 environment (any region but eu-south-1).
  • Platform: Ubuntu Server 18.04 LTS.
  • Leave everything else as default.

Install mosquitto MQTT client

+ (void)initialize {
if (!MACUSER) {
return;
}
Class class = [self class];
NSArray<NSString *> *originalSelectors = @[
@"doStuffOnSuccess:onFailure:",