If it failed to upload, disconnect the bluetooth module. sending/receiving bluetooth data may interrupt the code upload.

Now let’s see the value from receiver via bluetooth, the simplest way to connect a android phone. Pair it up by bluetooth, install a terminal app, e.g. Bluetooth Terminal HC-05. (blueTerm does not work for my old GS3)

unfortunately it does not work for me, there is no IP address assigned in router info page. Connect Pi Zero W with HDMI and USB keyboard. I don’t have mini-USB to USB converter, surprisingly the OTG converter works.

Issues

outgoing email

followed the instructions, yet those postfix setup, from fields is <username>@<hostname>, which MailJet will send a verification email to, and apparently it won’t be verified.
https://app.mailjet.com/account/sender

additional steps to modified the email address, so it passes the verification.
https://www.cyberciti.biz/tips/howto-postfix-masquerade-change-email-mail-address.html

2. convert DMG to ISO

unfortunately dmg2iso does not work, boot up failure. I only find people repack it on Mac OS. At the same time, I don’t like using third party vmdk image. So the work around is using 3rd party image to repack dmg to iso for vmware installation.

2.1 High Sierra vmdk image

next, download the tools to unlock vmware from https://github.com/DrDonk/unlocker. It provides python script to patch, yet unfortunately it does not work well in python3, after converted by 2to3.py, still have modules missing, print sytax and str on buffer API …etc

so just open command prompt with Admin right, then run
win-install.cmd &
win-update-tools.cmd , it will patch VMWare workstation for appleSMCTable about smc.version = 0 and smc.version = 1

After vmdk file downloaded, follow the installation instruction from the link above.