From a94247b3a753107d5ad0627d5dd07bd5ffd31581 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 7 Jun 2022 13:18:09 +0200 Subject: [PATCH] Fix syntax highlight --- content/blog/2022-iphone.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/content/blog/2022-iphone.md b/content/blog/2022-iphone.md index 0eef750..d134988 100644 --- a/content/blog/2022-iphone.md +++ b/content/blog/2022-iphone.md @@ -109,7 +109,7 @@ I'm no expert with `AT commands`, I just now they exist, it should be enough rig Booted my Pinephone, and knowing it would be long I sshed on it from my laptop to buy me some comfort: -``` +```text $ ssh mobian@mobian.local ``` @@ -123,7 +123,7 @@ real Debian on my phone: feels like working on a laptop. OK let's start for real!! -``` +```text $ mmcli -m any [...it's a long output so here's the relevant part...] ----------------------------------- @@ -141,7 +141,7 @@ the battery... OK let's start again from scratch and: -``` +```text $ mmcli -m any [...it's a long output so here's the relevant part...] ----------------------------------- @@ -156,12 +156,12 @@ $ mmcli -m any Hello SIM card, so you're locked? -``` +```text $ mmcli -m any -i 0 --pin 1234 successfully sent PIN code to the SIM ``` -``` +```text $ mmcli -m any [...it's a long output so I redacted it...] ----------------------------------- @@ -178,7 +178,7 @@ Yeah, I like when it finally starts to be easy! So what can I get from this SIM card? The `CPBS` commands is to choose the storage of phone book memory, and `SM` is for `SIM Phonebook`: -``` +```text $ mmcli -m any --command='AT+CPBS=?' response: '+CPBS: ("SM","DC","MC","ME","RC","EN")' $ mmcli -m any --command='AT+CPBS="SM"' @@ -187,7 +187,7 @@ response: '' OK there's a SIM Phonebook and we just choosen it, let's read it using `CPBR` (`R` for `Read`) -``` +```text $ mmcli -m any --command='AT+CPBR=?' response: '+CPBR: (1-250),40,14' $ mmcli -m any --command='AT+CPBR=1' @@ -199,7 +199,7 @@ for an iPhone, but if you don't try, you don't know... OK let's try to read some SMS messages then: -``` +```text $ mmcli -m any --command='AT+CMGF=1' response: '' $ mmcli -m any --command='AT+CMGL="ALL"' @@ -215,7 +215,7 @@ readacted for your readability? I read it fully once, but before unlocking the SIM, I went to read it fully a second time and BOOM a section appeared since I unlocked the card: -``` +```text ----------------------------------- Numbers | own: 3365xxxxxxx -----------------------------------