.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.
This was done by script:
```py
import re
import datetime
import pathlib
import sys
import frontmatter
rx = re.compile(r'^(\s*)date_added:.*$', re.M)
for path_str in sys.argv[1:]:
print(path_str)
path = pathlib.Path(path_str)
post = frontmatter.load(path)
date_added = post.get("date_added", "")
if isinstance(date_added, datetime.date):
continue
if isinstance(date_added, str):
try:
date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
except ValueError as exc:
print(f"Failed to parse date {date_added} in {path_str}: {exc}")
continue
date_added = date_added.date()
content = path.read_text("utf-8")
new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
assert content != new_content
path.write_text(new_content, "utf-8")
```
2.6 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | downloads_display | blinka | date_added | features | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | avnet_iiot_gateway | SmartEdge Industrial IOT Gateway Download | SmartEdge Industrial IOT Gateway | Avnet, Inc. |
|
avnet_iiot_gateway.jpg | true | true | 2020-05-15 |
|
Gateways can be as varied as the devices they help connect, with each gateway needing different protocols, connection methodologies and energy requirements to bring together the myriad of distributed parts that make up the IoT whole. Gateways serve critical functions such as data filtering and security and up to application code. Whether an app on a mobile device, a demo board, or even a connected sensor, gateways are critical to the functioning of the IoT—and Avnet’s deep hardware experience help connect your solutions to the cloud smartly and with security in mind.
SmartEdge Industrial IoT Gateway, powered by Raspberry Pi, helps simplify and accelerate adoption of IIoT applications. The gateway provides versatile connectivity with data intelligence for a wide range of industrial 4.0 applications.
Empower analytics at the edge of your IoT network with the intelligent Dell Edge Gateway for richer business insights. An edge gateway connects varied wired and wireless devices and systems, aggregates and analyzes the input, and sends it on. Because the gateway sits close to your devices and sensors, it sends only meaningful data to the cloud or control center, saving you expensive bandwidth.
- Broadcom BCM2837 SoC, 64-bit, Quad-core ARM Cortex-A53 processor running up to 900 MHz + 1GB LPDDR2 SDRAM for data
- Robust program storage with 8GB eMMC Flash pre-programmed with a secure boot version of the Raspbian Linux OS
- On-Board Trusted Platform Module TPM 2.0 module for comprehensive end-to-end security
- HDMI output for driving a display with outstanding 1080p video processing
- Same Raspberry Pi 40-pin GPIO header compatible with your favorite for HATs
- WiFi 2.4GHz and Bluetooth (BLE) 4.2 wireless connectivity with internal antennas
- Dual USB 2.0 Ports, Dual 10/100 Ethernet ports and mPCIe slot for a cellular card
- Terminal blocks for Isolated RS-232/485/Modbus, CAN, Digital I/O and 12 to 24VDC power
- On-Board battery backed real-time clock (RTC) and watchdog timer
- Can be mounted on DIN rail, direct on wall/panel, or free standing