Moheeb Zarabenstr πŸš€
Published © MIT

Cellular Wardriving and Other IoT Shenanigans

A guide for the Hologram.io Arduino MKR 1400 GSM workshop for IoTDevFest PHX 2019.

EasyFull instructions provided2 hours2,953
Cellular Wardriving and Other IoT Shenanigans

Things used in this project

Hardware components

Arduino MKR GSM 1400
Arduino MKR GSM 1400
×1
1500 mah LiPo
×1
Micro-USB to USB Cable (Generic)
Micro-USB to USB Cable (Generic)
×1
Hologram Global IoT SIM Card
Hologram Global IoT SIM Card
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

changeBand function

Arduino
Call changeBand(GSM_MODE_GSM850_PCS); in setup to change band.
void changeBand(String newBandName) {
  // Use GSM_MODE_GSM850_PCS for USA

  GSMBand band;
  
  Serial.println("Restarting modem...");
  band.begin();
  Serial.println("Modem restarted.");

  String bandName = band.getBand(); // Get and print band name
  Serial.print("Current band:");
  Serial.println(bandName);

  delay(200);
  
  bool operationSuccess;
  operationSuccess = band.setBand(newBandName);
 
  if (operationSuccess) {
    Serial.println("Success");
    String bandName = band.getBand(); // Get and print band name
    Serial.print("New band:");
    Serial.println(bandName);
  } else {
    Serial.println("Error while changing band");
  }
}

Code Examples

This includes the Wardriving and MQTT examples

Credits

Moheeb Zara

Moheeb Zara

6 projects β€’ 105 followers
Software Evangelist at Hologram.io - . Co-founder - South West Maker Festival. Hardware hacker, artist, robotics mentor, HeatSync Labs
benstr πŸš€

benstr πŸš€

18 projects β€’ 76 followers
Developer Advocate @ Hologram.io - We make cellular IoT easy.

Comments