This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tested with dbus-python 1.2.18 and python 3.9 | |
# extension to dbus object to support properties | |
from xml.dom import minidom | |
import dbus | |
import dbus.mainloop.glib | |
import dbus.service | |
from gi.repository import GLib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import paho.mqtt.client as mqtt | |
import time | |
def schedule_tasks(): | |
pass | |
client = mqtt.Client() | |
client.connect_async("127.0.0.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
namespace MbrtuEval | |
{ | |
public class PcapMbrtu | |
{ | |
List<Pcap.Packet> packetList = new List<Pcap.Packet>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/i2c/busses/Kconfig | |
+++ b/drivers/i2c/busses/Kconfig | |
@@ -715,6 +715,10 @@ config I2C_RALINK | |
tristate "Ralink I2C Controller" | |
select OF_I2C | |
+config I2C_MT7621 | |
+ tristate "MT7621/MT7628 I2C Controller" | |
+ select OF_I2C | |
+ |