save raspberrypi gpio sstatus to rgpio_pin_db, and notify event from this.